package com.suitsoft.bdms.entity.system;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.suitsoft.bdms.entity.IdEntity;

/**
 * 子系统的具体应用URL
 *@author Suine
 */
@Entity
@Table(name = "BD_SUB_POINT")
public class SubPointEntiry extends IdEntity{
	/**子系统*/
	private PointEntity parent;
	/**URL*/
	private String url;
	/** 应用名 */
	private String urlName;
	/** 类型 学生和教师 */
	private String type;
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "PARENT_ID")
	public PointEntity getParent() {
		return parent;
	}
	public void setParent(PointEntity parent) {
		this.parent = parent;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getUrlName() {
		return urlName;
	}
	public void setUrlName(String urlName) {
		this.urlName = urlName;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
}

